package com.CNMedical.system.domain.vo;

import com.diboot.core.binding.annotation.BindEntity;
import com.diboot.core.binding.annotation.BindField;
import com.CNMedical.system.domain.entity.AppletForum;
import com.CNMedical.system.domain.entity.AppletForumCollect;
import com.CNMedical.system.domain.entity.AppletUser;
import lombok.Data;

/**
 * 论坛帖子收藏对象 applet_forum_collect
 * 
 * @author tang
 * @date 2023-04-01
 */
@Data
public class AppletForumCollectVO extends AppletForumCollect
{

    @BindEntity(entity = AppletForum.class,condition = "this.forum_id = id")
    private AppletForum appletForum;

    @BindField(entity = AppletUser.class,field = "nickName",condition = "this.user_id = id")
    private String userName;

}
